package day09;

import java.util.ArrayList;

public class Static02 {
    public static void main(String[] args) {                                        //测试类+JavaBean+工具类
        StudentBean s1 = new StudentBean("xiaoming",18,"male");
        StudentBean s2 = new StudentBean("xiaohua",19,"female");
        StudentBean s3 = new StudentBean("xiaogang",20,"male");
        ArrayList<StudentBean> arr = new ArrayList<>();
        arr.add(s1);
        arr.add(s2);
        arr.add(s3);
        System.out.println(getMaxAge.ga(arr));
    }
}
